<script src="../asynx.js"></script>
<script src="../dom/dom.js"></script>
<script src="../impl/array.js"></script>
<script src="../impl/util.js"></script>
<script src="../impl/cookie.js"></script>
<script src="../impl/ajax.js"></script>
<script src="../impl/anim.js"></script>
<script src="../impl/drag.js"></script>
<script src="../impl/lang.js"></script>
<script src="../dom/xpath.js"></script>
<script src="../dom/selector.js"></script>
<script src="../event/event.js"></script>

<div id="log"></div>

<script>
	
	asynx.$open('datalist.xml', {}, function(xml) {
		
		
		var json = xml.replace(/<(\w+)>/g, "{'$1':");
		
		json = json.replace(/<\/(\w+)>/g, "},");
		json = json.replace(/:([\w\s._-]+) *} */g, ":'$1'}");
		
		asynx('log').html(json)
	});
	
</script>